import { get, post, del } from "@/common/request"

export const handleSave = (passenger) => {
    return post("/member/passenger/save", passenger)
}

export const handleSelect = (params) => {
    return get("/member/passenger/query-list", params)
}

export const handleDelete = (id) => {
    return del(`/member/passenger/delete/${id}`)
}

export const handleSelectMine = (params) => {
    return get("/member/passenger/query-mine", params)
}